package com.example.lottery_system.controller.param;

import jakarta.validation.constraints.NotNull;
import lombok.Data;



@Data
public class UserRegisterParam {
    @NotNull(message = "用户名为空")
    private String userName;
    @NotNull(message = "邮箱为空")
    private String email;
    @NotNull(message = "电话号为空")
    private String phoneNumber;
    private String password;
    @NotNull(message = "身份信息为空")
    private String identity;
}
